module Multiplexer(
        input wire a,
        input wire b,
        input wire ctrl,
        output reg out
    );
        always @(*)
            if (ctrl)
                out = b;
            else
                out = a;
    endmodule
